export default {
  createExamineByAppointment:{//通过预约创建体检
    url: '/his/examine/createByAppointment',
    require:['token','clientid','name','appointmentId']//data,examineItems
  },
  createExamine:{//创建体检
    url: '/his/examine/create',
    require:['token','clientid','name','JobId']//data(选)、examineItems([{examineTypeId:'',name:'',data:{mark:''}]) [state:0体检未完成、1体检中、2体检已完成、3报告生成中、4报告已完成]
  },
  delExamine:{//删除体检
    url: '/his/examine/delete',
    require:['token','clientid','id']
  },
  updateExamine:{//修改体检
    url: '/his/examine/update',
    require:['token','clientid','id']//name,data
  },
  getExamine:{//获取体检
    url: '/his/examine/get',
    require:['token','clientid','id']
  },
  getExamineList:{//管理员获取体检列表
    url: '/his/examine/list',
    require:['token','clientid']//page、size(选)、userId(选)、departmentId(选)、state(选)、start(选)、end(选)
  },
  getExamineListByUser:{//用户获取体检列表
    url: '/his/examine/listByUser',
    require:['token','clientid']//page、size(选)、userId(选)、departmentId(选)、state(选)、start(选)、end(选)
  },
}
